import 'package:flutter/material.dart';
import './bottom_navigation_widget.dart';
import './bottom_app_bar_widget.dart';

void main() => runApp(MyApp());

class MyApp extends StatelessWidget {
  const MyApp({Key? key}) : super(key: key);

  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: '底部导航学习',
      theme: ThemeData(
        primarySwatch: Colors.lightBlue
      ),
      // 常规底部导航
      // home: BottomNavigationWidget(),
      // 不规则底部导航
      home: BottomAppBarWidget(),
    );
  }
}
